﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace DTcms.Core.Themes
{
    public class MobileDeviceHelper : IMobileDeviceHelper
    {
        #region Implementation of IMobileDeviceHelper

        /// <summary>
        /// 返回一个值，指示请求是否由移动设备发出
        /// </summary>
        /// <param name="httpContext">HTTP context</param>
        /// <returns>Result</returns>
        public bool IsMobileDevice(HttpContextBase httpContext)
        {
            return false;
        }

        /// <summary>
        /// 返回一个值，指示是否启用了移动设备支持
        /// </summary>
        public bool MobileDevicesSupported()
        {
            return false;
        }

        /// <summary>
        /// 返回一个值，指示当前客户是否更喜欢使用完整桌面版本（甚至请求由移动设备提出）
        /// </summary>
        public bool CustomerDontUseMobileVersion()
        {
            return true;
        }

        #endregion
    }
}
